import { AUTHORIZATION } from "./constant";

const getToken = () => localStorage.getItem(AUTHORIZATION);
const setToken = (val: string) => localStorage.setItem(AUTHORIZATION, val);
const cleartToken = () => localStorage.removeItem(AUTHORIZATION);  

export default {
    getToken,
    setToken,
    cleartToken
}